/**
 * 命名=》API_xxx_methodName
 */


import { baseRequest, moduleRequest, request } from '../request'

const moduelRequest = moduleRequest(`/auth/b/`)

export default {
  API_DEMO_POST(data = {}) {
    return request('/mock/user', data, 'post')
  },

  API_DEMO_GET(params = {}) {
    return request('/posts', params, 'get')
  },

  API_DEMO_POST2(){
		return moduelRequest('doLogin', data, 'post', false)
  }
}
